package com.gjy.util.sb.use;

import com.gjy.util.sb.aop.annotation.NeedDataPermission;
import com.gjy.util.sb.aop.dto.DataPermission;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-10-23 11:14:10
 */
@Component
public class DataTT {

    private static final Logger log = LoggerFactory.getLogger(DataTT.class);

    @NeedDataPermission
    public void dataPermission(DataPermission permission) {
        log.info("permission: {}", permission);
    }

}
